﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using University.Workshop.Model;
using University.Workshop.Business;
namespace University.Workshop.Presenters.AppointmentFolder
{
    public class PresenterPostponedAppointments
    {
        IPostponedAppointments view;

        public PresenterPostponedAppointments(IPostponedAppointments view)
        {
            this.view = view;
        }

        public ICollection<Appointment> ObtainPostponedAppointments()
        {
            return AppointmentManager.GetPostponedAppointments(view.DoctorId);
        }
    }
}
